package com.hj.homework;

public interface CompareAble {
    default void compare(Apple a1,Apple a2) {
        if (a1.getBig()>a2.getBig()){
            System.out.println(a1);;
        }else {
            System.out.println(a2);
        }
    }
}
